package com.xmall.service.impl;


import com.xmall.bean.vo.LoginUser;
import com.xmall.service.AuthService;
import org.springframework.stereotype.Service;

@Service
public class AuthServiceImpl implements AuthService {

    @Override
    public LoginUser login(String username, String password) {

        LoginUser loginUser = new LoginUser();
        loginUser.setToken("mfbgmmg7u7vmeev4uakim4x07tvlhehu");
        loginUser.setTokenExpire("2020-12-10T11:52:12.445");

        loginUser.setUserInfo(new LoginUser.UserInfoBean
                ("test1","https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif?imageView2/1/w/80/h/80"));

        return loginUser;
    }
}
